DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews.Xml Namespace / XmlExtensions Class / Descendants Method / Descendants<T>(View<T>,XName) Method
The type of the objects in the source view, constrained to System.Xml.Linq.XContainer.
The source view.
The System.Xml.Linq.XName to match.

In This Topic
    Descendants<T>(View<T>,XName) Method
    In This Topic
    Returns a view representing a filtered collection of elements that contains the descendent elements of every element and document in the source view. Only elements that have a matching System.Xml.Linq.XName are included.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Descendants(Of T As XContainer)( _
       ByVal view As View(Of T), _
       ByVal name As XName _
    ) As View(Of XElement)
    public static View<XElement> Descendants<T>( 
       View<T> view,
       XName name
    )
    where T: XContainer

    Parameters

    view
    The source view.
    name
    The System.Xml.Linq.XName to match.

    Type Parameters

    T
    The type of the objects in the source view, constrained to System.Xml.Linq.XContainer.

    Return Value

    A view containing descendants of elements and documents in the source view. Only elements that have a matching System.Xml.Linq.XName are included.
    See Also